﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Gfw.Web.Models.Account
{
    /// <summary>
    /// 系统支出（如：内部分红，买装备等）
    /// </summary>
    public class OutlayModel
    {
        /// <summary>
        /// 编码
        /// </summary>
        [Key]
        [Required]
        [DataType(DataType.Text)]
        public string ID { get; set; }

        /// <summary>
        /// 经办人员ID
        /// </summary>
        [DataType(DataType.Text)]
        [Display(Name = "经办客服ID：")]
        public string HandlerID { get; set; }

        /// <summary>
        /// 支出费用
        /// </summary>
        [DataType(DataType.Currency)]
        [Display(Name = "支出费用")]
        public decimal PayMoney { get; set; }

        /// <summary>
        /// 支出类型
        /// </summary>
        [DataType(DataType.Text)]
        [Display(Name = "支出类型")]
        public string PayType { get; set; }

        /// <summary>
        /// 支出日期
        /// </summary>
        [DataType(DataType.DateTime)]
        [Display(Name = "支出日期")]
        public DateTime PayDate { get; set; }

        /// <summary>
        /// 摘要
        /// </summary>
        [DataType(DataType.Text)]
        [Display(Name = "摘要")]
        public string PayAbstract { get; set; }
    }
}
